projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4de8f97
)
(encode_coding_iso2022): Before writing out an invalid
author
Kenichi Handa
<handa@m17n.org>
Fri, 5 Feb 1999 05:39:58 +0000
(
05:39
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Fri, 5 Feb 1999 05:39:58 +0000
(
05:39
+0000)
code, reset glaphic planes and registers if necessary.
src/coding.c
patch
|
blob
|
history
diff --git
a/src/coding.c
b/src/coding.c
index 8e6822eac7664aa454c76b687479cec5b92ab74a..298b3707686fdc1b2f574060d7667d908cc17ab6 100644
(file)
--- a/
src/coding.c
+++ b/
src/coding.c
@@
-1982,6
+1982,8
@@
encode_coding_iso2022 (coding, source, destination, src_bytes, dst_bytes)
break;
case EMACS_invalid_code:
+ if (coding->flags & CODING_FLAG_ISO_RESET_AT_CNTL)
+ ENCODE_RESET_PLANE_AND_REGISTER;
*dst++ = c1;
coding->consumed_char++;
break;